/**
 * 
 * 广州锐鹏计算机科技有限公司（www.ruipengkj.com）
 * 
 * 
 * Copyright (c) 2011-2012 RUIPENGKJ.Co.Ltd. All rights reserved.
 * 
 * */
package com.ruipengkj.view.base;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

import javax.swing.ListSelectionModel;

import com.ruipengkj.commons.base.query.PageView;
import com.ruipengkj.component.WaitComponent;
import com.ruipengkj.component.page.AbstractPageDelegale;
import com.ruipengkj.factory.UIFactory;
/**
 * 说明：
 * 翻页组件基类
 * @Author：李智深
 * @Date：2012-03-15
 */
public abstract class BasePagePanel<T> extends AbstractPageDelegale<T> implements MouseListener,ActionListener,KeyListener{
	
	private static final long serialVersionUID = 1L;
	protected UIFactory uiFactory;//创建UI工厂
	
	//等待组件
	protected WaitComponent waitComponent=WaitComponent.getInstance();
	
	public BasePagePanel(){
		uiFactory=UIFactory.getInstance();
		this.setOpaque(false);
	}
	
	@Override
	public void mouseClicked(MouseEvent e) {
	}

	@Override
	public void mouseEntered(MouseEvent e) {
	}

	@Override
	public void mouseExited(MouseEvent e) {
	}

	@Override
	public void mousePressed(MouseEvent e) {
	}

	@Override
	public void mouseReleased(MouseEvent e) {
	}

	@Override
	public void actionPerformed(ActionEvent e) {
	}

	@Override
	public void keyPressed(KeyEvent e) {
	}

	@Override
	public void keyReleased(KeyEvent e) {
	}

	@Override
	public void keyTyped(KeyEvent e) {
	}

	@Override
	protected PageView<T> getPageView() {
		return null;
	}

	@Override
	protected void termQuery(int currentPage) {
	}
	public abstract void clear();
	public void rowChange(ListSelectionModel e){
	}
}
